package com.yidu.BusinessData.entity;

/**
 * 交易席位实体类
 * @author zhouhongyu
 * @since 2022/8/16
 * @version 1.0
 */
public class TradingSeats {
    private String seatId;//席位编号
    private String brokerId;//券商编号（券商名称）  外键
    private String brokerName;//券商名称
    private int seatType;//席位类型
    private double commission;//佣金利率
    private String seatName;//席位名称
    private int seatPlace;//席位地址
    private String seatBeiZhu;//席位备注

    /**
     * 无参数构造
     */
    public TradingSeats(){}

    /**
     * 有参数构造方法
     * @param seatId
     * @param brokerId
     * @param brokerName
     * @param seatType
     * @param commission
     * @param seatName
     * @param seatPlace
     * @param seatBeiZhu
     */
    public TradingSeats(String seatId, String brokerId, String brokerName, int seatType, double commission, String seatName, int seatPlace, String seatBeiZhu) {
        this.seatId = seatId;
        this.brokerId = brokerId;
        this.brokerName = brokerName;
        this.seatType = seatType;
        this.commission = commission;
        this.seatName = seatName;
        this.seatPlace = seatPlace;
        this.seatBeiZhu = seatBeiZhu;
    }

    public TradingSeats(String seatId, String brokerId, int seatType, double commission, String seatName, int seatPlace, String seatBeiZhu) {
        this.seatId = seatId;
        this.brokerId = brokerId;
        this.seatType = seatType;
        this.commission = commission;
        this.seatName = seatName;
        this.seatPlace = seatPlace;
        this.seatBeiZhu = seatBeiZhu;
    }

    @Override
    public String toString() {
        return "TradingSeats{" +
                "seatId='" + seatId + '\'' +
                ", brokerId='" + brokerId + '\'' +
                ", brokerName='" + brokerName + '\'' +
                ", seatType=" + seatType +
                ", commission=" + commission +
                ", seatName='" + seatName + '\'' +
                ", seatPlace=" + seatPlace +
                ", seatBeiZhu='" + seatBeiZhu + '\'' +
                '}';
    }

    //自动生成setter、getter构造函数方法
    public String getSeatId() {
        return seatId;
    }

    public void setSeatId(String seatId) {
        this.seatId = seatId;
    }

    public String getBrokerId() {
        return brokerId;
    }

    public void setBrokerId(String brokerId) {
        this.brokerId = brokerId;
    }

    public int getSeatType() {
        return seatType;
    }

    public void setSeatType(int seatType) {
        this.seatType = seatType;
    }

    public double getCommission() {
        return commission;
    }

    public void setCommission(double commission) {
        this.commission = commission;
    }

    public String getSeatName() {
        return seatName;
    }

    public void setSeatName(String seatName) {
        this.seatName = seatName;
    }

    public int getSeatPlace() {
        return seatPlace;
    }

    public void setSeatPlace(int seatPlace) {
        this.seatPlace = seatPlace;
    }

    public String getSeatBeiZhu() {
        return seatBeiZhu;
    }

    public void setSeatBeiZhu(String seatBeiZhu) {
        this.seatBeiZhu = seatBeiZhu;
    }

    public String getBrokerName() {
        return brokerName;
    }

    public void setBrokerName(String brokerName) {
        this.brokerName = brokerName;
    }
}
